public class maopao {
	public static void main(String[] args) {
		int [] a={52,26,97,19,66,8,49,56,43};
		for(int i=0;i<a.length;i++){
			for(int j=0;j<a.length-1;j++){
				if(a[j]>a[j+1]){
					int t=a[j+1];
					a[j+1]=a[j];
					a[j]=t;
				}
			}
		}
		for(int j=0;j<a.length;j++){
		System.out.println(a[j]);
		}
	}

}
